package com.yshkj.payment.entity.medicinal;

import com.yshkj.payment.entity.BaseDomain;
import lombok.Builder;
import lombok.Data;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;

/**
 * 药品入库记录
 * Created by 唐旭 on 2016/10/1.
 */
@Entity
@Table
@Data
public class StorageRecord extends BaseDomain {
    @OneToMany(cascade = CascadeType.ALL)
    @JoinColumn(name = "storage_record")
    private List<StorageRecordItem> specList = new ArrayList<>();
}
